package com.yq.api.service;

import com.yq.api.comm.ResultHandle;
import com.yq.api.dto.UserTO;

import javax.ejb.Local;
import java.util.List;

/**
 * Created by yq on 16-5-26.
 */
@Local
public interface UserServiceFacade {
    ResultHandle<UserTO> addUser(UserTO userTO);

    ResultHandle<UserTO> findUser(Long userId);

    ResultHandle<List<UserTO>> getUserList(UserTO userTO);

    ResultHandle<UserTO> deleteUser(UserTO userTO);

    ResultHandle<UserTO> updateUser(UserTO userTO);
}
